Use fixed-width types in the memory event interface
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 29 Jun 2010 17:17:44 +0000 (18:17 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 29 Jun 2010 17:17:44 +0000 (18:17 +0100)
commitcecde1f9670adb95274c56e126d62d8a6d86f8cf
tree5fc27e4ad279b2930a2862b90912235b0ed40f28
parentaf2b4aaad0c11a7a3e7e4d4ad125aaea6dc4f8dd
Use fixed-width types in the memory event interface

Set the types in the public memory_event header file to use
fixed-sized and self-aligned fields rather than "unsigned long".  AIUI
this feature only works with 64-bit hypervisors but I think this
change will be necessary to use 32-on-64 dom0 tools.

This breaks compatibility with older builds of the tools, but I can't
see any way to avoid it short of __attribute__((__packed__)).

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Acked-by: Patrick Colp <pjcolp@cs.ubc.ca>
xen/include/public/mem_event.h